function confirmDelete(string) {

	x = window.confirm("Do you want to delete " + string + "?");
	if (x)
		return true;
	else
		return false;
}

function autoResizeDiv() {
	document.getElementById('mainDiv').style.height = window.innerHeight + 'px';
	document.getElementById('mainDiv').style.width = window.innerWidth + 'px';
}
window.onresize = autoResizeDiv;
autoResizeDiv();